package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * ClassName:
 * Package: com.sky.service
 * Description:
 *
 * @Author OD老雷
 * @Create 2025/1/22 15:33
 * @Version 1.0
 */
public interface ShoppingCartService {

    //添加购物车

    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);

    //查看购物车
    List<ShoppingCart> showShoppingCart();

    //清空购物车
    void cleanShoppingCart();

    //删除一个菜品
    void subShoppingCrat(ShoppingCartDTO shoppingCartDTO);
}
